package org.alex.samples.dao;

import java.util.List;

import org.alex.samples.model.ExamScore;
import org.alex.samples.model.ExamUserSub;
import org.alex.samples.model.Sub;

public interface ISubDAO extends IBaseDAO<Sub>{
	
	public List<String> getAllUserBySubject(Integer subjectId);
	
	public void insertSubjectUsers(List<String> insertList,Integer subjectId);
	
	public void deleteSubjectUsers(List<String> delList,Integer subjectId);
	
	
	public List<Sub> findAllSubs();
	
	public Sub getSubById(int id);
	
	public void createSub(Sub sub) throws Exception;
	
	public void editSub(Sub sub) throws Exception;
	
	public void deleteSub(int id) throws Exception;

	
	
}
